package com.linsen.erp.admin.provider.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @Description:
 * @ProjectName: erp
 * @Package: com.linsen.erp.admin.provider.vo
 * @ClassName: UserVO
 * @Author: zhaoyong
 * @Email: zy765203718@gmail.com
 * @Date: 2023/7/27 12:22
 * @Version: 1.0
 */
@Data
@ApiModel("用户VO")
public class UserVO implements Serializable {

    @ApiModelProperty("用户id")
    private String id;
    @ApiModelProperty("账户名")
    private String username;
    @ApiModelProperty("姓名")
    private String name;
    @ApiModelProperty("性别：0，保密；1，男；2，女；")
    private Integer gender;
    @ApiModelProperty("年龄")
    private Integer age;
    @ApiModelProperty("邮箱")
    private String email;
    @ApiModelProperty("手机号")
    private String tel;
    @ApiModelProperty("部门id")
    private String deptId;
    @ApiModelProperty("部门信息")
    private DeptVO deptVO;
    @ApiModelProperty("账户状态：0，停用；1，正常")
    private Integer status;
    @ApiModelProperty("是否是超级管理员账号：0，否；1，是")
    private Integer isSuper;
    @ApiModelProperty("是否是管理员账号：0，否；1，是")
    private Integer isAdmin;

    @ApiModelProperty("关联角色列表")
    private List<RoleVO> roleVOList;
    @ApiModelProperty("关联角色id列表")
    private List<String> roleIdList;

    @ApiModelProperty("创建操作人")
    private String createBy;
    @ApiModelProperty("创建操作人username")
    private String createByName;
    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;
    @ApiModelProperty("更新操作人")
    private String updateBy;
    @ApiModelProperty("更新操作人username")
    private String updateByName;
    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;
}
